package com.ity.teamanagement.exception;

import com.ity.teamanagement.code.Code;
import com.ity.teamanagement.result.Result;

/**
 * @author coderFu
 * @create 2021/5/23
 */
public class ExceptionUtils {

    public static void error(Code code){
        throw new ApiException(new Result(code));
    }
}
